/*
 * =====================================================================================
 *
 *       Filename:  Women.cc
 *
 *    Description:
 *
 *        Version:  1.0
 *        Created:  01/05/2022 08:15:47 PM
 *       Revision:  none
 *       Compiler:  gcc
 *
 *         Author:  first_name last_name (fl), fl@my-company.com
 *        Company:  my-company
 *
 * =====================================================================================
 */

#include "Women.h"
CWomen::CWomen(int _type, string _request) {
    this->m_type = _type;

    switch (this->m_type) {
    case 1:
        this->m_request.append("女儿的请求是：");
        this->m_request.append(_request);
        break;

    case 2:
        this->m_request.append("妻子的请求是：");
        this->m_request.append(_request);
        break;

    case 3:
        this->m_request.append("母亲的请求是：");
        this->m_request.append(_request);
        break;
    }
}

CWomen::~CWomen(void) {
}

int CWomen::GetType() {
    return m_type;
}

string CWomen::GetRequest() {
    return m_request;
}
